﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Theme="SkinFile" Inherits="Nivdal.TranslateDataTables" Title="Translate data tables - nivdal.com!" Codebehind="TranslateDataTables.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadPlaceHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:HiddenField ID="LanguageIdHiddenField" runat="server" />
    <asp:Panel ID="DirectionPanel" runat="server" Direction="LeftToRight">
    <div class="basic_element">
    <div class="red_title">
        <asp:Label ID="PageTitleLabel" runat="server" Text="Translate data tables" CssClass="white_title"></asp:Label>
    </div>
    <div class="padding5">

    <asp:UpdatePanel ID="StatsUpdatePanel" runat="server">
        <ContentTemplate>
            <asp:FormView ID="StatusFormView" runat="server" DataSourceID="DataTablesTranslateStatsDataSource" >
                <ItemTemplate>
                    <asp:Label ID="PageTitleLabel" runat="server" Text="Data tables translation status:" SkinID="InfoLabel"></asp:Label>
                    <br />
                    <asp:Label ID="StatsLabel" runat="server" Text='<%# Eval("DataTablesTranslateStatus")  %>' SkinID="GridLabel"></asp:Label>
                </ItemTemplate>
            </asp:FormView>
            <asp:SqlDataSource ID="DataTablesTranslateStatsDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_GetTranslationStatus" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:HyperLink ID="TranslateMasterHyperlink" runat="server" NavigateUrl="~/TranslateMaster.aspx" 
    SkinID="GreenTitleHyperLink" Text="back to translate home page"></asp:HyperLink>
    <br /><br />
    <asp:UpdatePanel ID="DataAggressivnessValuesUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataAggressivnessValuesTitleLabel" runat="server" SkinID="InfoLabel" 
            Text="Aggressivness Values data table:" ></asp:Label>
            
            <asp:Label ID="DataAggressivnessValuesUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
            <asp:UpdateProgress ID="DataAggressivnessValuesUpdateProgress" runat="server" AssociatedUpdatePanelID="DataAggressivnessValuesUpdatePanel">
                <ProgressTemplate>
                    <div class="ajaxloader">
                        <asp:Image ID="DataAggressivnessValuesImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                    </div>
                </ProgressTemplate>
            </asp:UpdateProgress>
            
            <asp:GridView ID="DataAggressivnessValuesGridView" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="DataAggressivnessValuesDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("AggressivnessName") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="DataAggressivnessIdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="DataAggressivnessValuesSubmitButton" runat="server" 
            Text="Submit" OnClick="DataAggressivnessValuesSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="DataAggressivnessValuesDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataAggressivnessValuesGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>
    
    <br /><br />
    
    <asp:UpdatePanel ID="DataAttitudeValuesUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataAttitudeValuesValuesTitleLabel" runat="server" SkinID="InfoLabel" 
            Text="Attitude values data table:" ></asp:Label>
            <div style="height:20px; padding:2px;">
                <asp:Label ID="DataAttitudeValuesUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
                <asp:UpdateProgress ID="DataAttitudeValuesUpdateProgress" runat="server" AssociatedUpdatePanelID="DataAttitudeValuesUpdatePanel">
                    <ProgressTemplate>
                        <div class="ajaxloader">
                            <asp:Image ID="DataAttitudeValuesImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
            <asp:GridView ID="DataAttitudeValuesGridView" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="DataAttitudeValuesDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("AttitudeName") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="DataAttitudeValuesIdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="DataAttitudeValuesSubmitButton" runat="server" 
            Text="Submit" OnClick="DataAttitudeValuesSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="DataAttitudeValuesDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataAttitudeValuesGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>
    
    <br /><br />
    
    <asp:UpdatePanel ID="DataPlayerAttributeNameUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataPlayerAttributeNameTitleLabel" runat="server" SkinID="InfoLabel" 
            Text="Player attribute names data table:" ></asp:Label>
            <div style="height:20px; padding:2px;">
                <asp:Label ID="DataPlayerAttributeNameUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
                <asp:UpdateProgress ID="DataPlayerAttributeNameUpdateProgress" runat="server" AssociatedUpdatePanelID="DataPlayerAttributeNameUpdatePanel">
                    <ProgressTemplate>  
                        <div class="ajaxloader">
                            <asp:Image ID="DataPlayerAttributeNameImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
            <asp:GridView ID="DataPlayerAttributeNameGridView" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="DataPlayerAttributeNameDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("Name") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="DataPlayerAttributeNameSubmitButton" runat="server" 
            Text="Submit" OnClick="DataPlayerAttributeNameSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="DataPlayerAttributeNameDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataPlayerAttributeNameGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>    
    
    <br /><br />
    
    <asp:UpdatePanel ID="DataPlayerInstructionsUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataPlayerInstructionsTitleLabel" runat="server" SkinID="InfoLabel" 
            Text="Player instructions data table:" ></asp:Label>
            <div style="height:20px; padding:2px;">
                <asp:Label ID="DataPlayerInstructionsUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
                <asp:UpdateProgress ID="DataPlayerInstructionsUpdateProgress" runat="server" AssociatedUpdatePanelID="DataPlayerInstructionsUpdatePanel">
                    <ProgressTemplate>
                        <asp:Image ID="DataPlayerInstructionsImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
            <asp:GridView ID="DataPlayerInstructionsGridView" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="DataPlayerInstructionsDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("InstructionName") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="DataPlayerInstructionsSubmitButton" runat="server" 
            Text="Submit" OnClick="DataPlayerInstructionsSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="DataPlayerInstructionsDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataPlayerInstructionsGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>  
    
    <br /><br />
    
    <asp:UpdatePanel ID="DataPlayerPositionsUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataPlayerPositionsTitleLabel" runat="server" SkinID="InfoLabel" 
            Text="Player positions data table:" ></asp:Label>
            <div style="height:20px; padding:2px;">
                <asp:Label ID="DataPlayerPositionsUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
                <asp:UpdateProgress ID="DataPlayerPositionsUpdateProgress" runat="server" AssociatedUpdatePanelID="DataPlayerPositionsUpdatePanel">
                    <ProgressTemplate>
                        <div class="ajaxloader">
                            <asp:Image ID="DataPlayerPositionsImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
            <asp:GridView ID="DataPlayerPositionsGridView" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="DataPlayerPositionsDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("PositionName") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="DataPlayerPositionsSubmitButton" runat="server" 
            Text="Submit" OnClick="DataPlayerPositionsSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="DataPlayerPositionsDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataPlayerPositionsGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>  
    
    <br /><br />
    
    <asp:UpdatePanel ID="DataPossessionDirValuesUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataPossessionDirValuesTitleLabel" runat="server" SkinID="InfoLabel" 
            Text="Possession direction values (for substitution instructions) data table:" ></asp:Label>
            <div style="height:20px; padding:2px;">
                <asp:Label ID="DataPossessionDirValuesUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
                <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="DataPossessionDirValuesUpdatePanel">
                    <ProgressTemplate>
                        <div class="ajaxloader">
                            <asp:Image ID="DataPossessionDirValuesImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
            <asp:GridView ID="DataPossessionDirValuesGridView" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="DataPossessionDirValuesDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("PossessionString") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="DataPossessionDirValuesSubmitButton" runat="server" 
            Text="Submit" OnClick="DataPossessionDirValuesSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="DataPossessionDirValuesDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataPossessionDirValuesGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>      
    
        <br /><br />
    
    <asp:UpdatePanel ID="DataPreferredActionsUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataPreferredActionsTitleLabel" runat="server" SkinID="InfoLabel" 
            Text="Preferred actions data table:" ></asp:Label>
            <div style="height:20px; padding:2px;">
                <asp:Label ID="DataPreferredActionsUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
                <asp:UpdateProgress ID="UpdateProgress2" runat="server" AssociatedUpdatePanelID="DataPreferredActionsUpdatePanel">
                    <ProgressTemplate>
                        <div class="ajaxloader">
                            <asp:Image ID="DataPreferredActionsValuesImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
            <asp:GridView ID="DataPreferredActionsGridView" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="DataPreferredActionsDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("ActionName") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="DataPreferredActionsSubmitButton" runat="server" 
            Text="Submit" OnClick="DataPreferredActionsSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="DataPreferredActionsDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataPreferredActionsGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>     
    
        <br /><br />
    
    <asp:UpdatePanel ID="DataRedCardStatusUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataRedCardStatusTitleLabel" runat="server" SkinID="InfoLabel" 
            Text="Red card status for substitition instruction data table:" ></asp:Label>
            <div style="height:20px; padding:2px;">
                <asp:Label ID="DataRedCardStatusUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
                <asp:UpdateProgress ID="DataRedCardStatusUpdateProgress" runat="server" AssociatedUpdatePanelID="DataRedCardStatusUpdatePanel">
                    <ProgressTemplate>
                        <div class="ajaxloader">
                            <asp:Image ID="DataRedCardStatusImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
            <asp:GridView ID="DataRedCardStatusGridView" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="DataRedCardStatusDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("RedCardStatus") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="DataRedCardStatusSubmitButton" runat="server" 
            Text="Submit" OnClick="DataRedCardStatusSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="DataRedCardStatusDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataRedCardStatusGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>     
    
        <br /><br />
    
    <asp:UpdatePanel ID="DataSubstitutionGoalsConditionsUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataSubstitutionGoalsConditionsTitleLabel" runat="server" SkinID="InfoLabel" 
            Text="Goals condition for substitutions data table:" ></asp:Label>
            <div style="height:20px; padding:2px;">
                <asp:Label ID="DataSubstitutionGoalsConditionsUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
                <asp:UpdateProgress ID="DataSubstitutionGoalsConditionsUpdateProgress" runat="server" AssociatedUpdatePanelID="DataSubstitutionGoalsConditionsUpdatePanel">
                    <ProgressTemplate>
                        <div class="ajaxloader">
                            <asp:Image ID="DataSubstitutionGoalsConditionsImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
            <asp:GridView ID="DataSubstitutionGoalsConditionsGridView" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="DataSubstitutionGoalsConditionsDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("Condition") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="DataSubstitutionGoalsConditionsSubmitButton" runat="server" 
            Text="Submit" OnClick="DataSubstitutionGoalsConditionsSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="DataSubstitutionGoalsConditionsDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataSubstitutionGoalsConditionsGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>  
    
        <br /><br />
    
    <asp:UpdatePanel ID="DataUserPunishmentsOptionsUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataUserPunishmentsOptionsTitleLabel" runat="server" SkinID="InfoLabel" 
            Text="User Forum suspentions data table:" ></asp:Label>
            <div style="height:20px; padding:2px;">
                <asp:Label ID="DataUserPunishmentsOptionsUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
                <asp:UpdateProgress ID="DataUserPunishmentsOptionsUpdateProgress" runat="server" AssociatedUpdatePanelID="DataUserPunishmentsOptionsUpdatePanel">
                    <ProgressTemplate>
                        <div class="ajaxloader">
                            <asp:Image ID="DataUserPunishmentsOptionsImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
            <asp:GridView ID="DataUserPunishmentsOptionsGridView" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="DataUserPunishmentsOptionsDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("Description") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="DataUserPunishmentsOptionsSubmitButton" runat="server" 
            Text="Submit" OnClick="DataUserPunishmentsOptionsSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="DataUserPunishmentsOptionsDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataUserPunishmentsOptionsGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>     
    <br /><br />
    <asp:UpdatePanel ID="WeatherUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="DataWeatherValuesTitleLabel" runat="server" Text="Weather values data table" SkinID="InfoLabel"></asp:Label>
            <div style="height:20px; padding:2px;">
                <asp:Label ID="WeatherUpdatedLabel" runat="server" Text="Updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
                <asp:UpdateProgress ID="WeatherUpdateProgress" runat="server" AssociatedUpdatePanelID="WeatherUpdatePanel">
                    <ProgressTemplate>
                        <div class="ajaxloader">
                            <asp:Image ID="WeatherImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
            <asp:GridView ID="WeatherTranslateGridVeiw" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="WeatherDataSourse" SkinID="Professional">
                <Columns>
                    <asp:TemplateField HeaderText="English text">
                        <ItemTemplate>
                            <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("Weather") %>' SkinID="GridLabel"></asp:Label>
                        </ItemTemplate>                            
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Translation">
                        <ItemTemplate>
                            <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                            <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="WeatherSubmitButton" runat="server" 
            Text="Submit" OnClick="DataWeatherSubmit" CssClass="GreenSmallButtonStyle" />
            
            <asp:SqlDataSource ID="WeatherDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataWeatherGetForTranslation" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
                </SelectParameters>
            </asp:SqlDataSource>
            
            
        </ContentTemplate>
    </asp:UpdatePanel> 
    <br /><br />
    <asp:UpdatePanel ID="TournamentTypePanel" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <asp:Label ID="TournamenTypeTitleLabel" runat="server" Text="Tournament types data table" SkinID="InfoLabel"></asp:Label>
        <div style="height:20px; padding:2px;">
            <asp:Label ID="TournamentTypeUpdatedLabel" runat="server" Text="Tournament types updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
            <asp:UpdateProgress ID="TournamentTypeUpdateProgress" runat="server" AssociatedUpdatePanelID="TournamentTypePanel">
                <ProgressTemplate>
                    <div class="ajaxloader">
                        <asp:Image ID="TournamentTypeProgressImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                    </div>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </div>
        <asp:GridView ID="TournamentTypesGridveiew" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="TournamentTypesDataSource" SkinID="Professional">
             <Columns>
                <asp:TemplateField HeaderText="English text">
                    <ItemTemplate>
                        <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("EnglishType") %>' SkinID="GridLabel"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Translation">
                    <ItemTemplate>
                        <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                        <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300" MaxLength="255"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
             </Columns>
        </asp:GridView>
        <br />
        <asp:Button ID="TournamentTypesSubmitButton" runat="server" 
            Text="Submit" OnClick="TournamentTypesSubmit" CssClass="GreenSmallButtonStyle" />
        <asp:SqlDataSource ID="TournamentTypesDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataTournamentTypesGetForTranslation" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
            </SelectParameters>
        </asp:SqlDataSource>
    </ContentTemplate>
    </asp:UpdatePanel>
    <br /><br />
    <asp:UpdatePanel ID="TournamentExecutionStatusPanel" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <asp:Label ID="TournamentExecutionStatusTitleLabel" runat="server" Text="Tournament execution statuses data table" SkinID="InfoLabel"></asp:Label>
        <div style="height:20px; padding:2px;">
            <asp:Label ID="TournamentExecutionStatusUpdatedLabel" runat="server" Text="Tournament execution statuses updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
            <asp:UpdateProgress ID="TournamentExecutionStatusUpdateProgress" runat="server" AssociatedUpdatePanelID="TournamentExecutionStatusPanel">
                <ProgressTemplate>
                    <div class="ajaxloader">
                        <asp:Image ID="TournamentExecutionStatusProgressImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                    </div>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </div>
        <asp:GridView ID="TournamentExecutionStatusGridveiew" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="TournamentExecutionStatusDataSource" SkinID="Professional">
             <Columns>
                <asp:TemplateField HeaderText="English text">
                    <ItemTemplate>
                        <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("EnglishType") %>' SkinID="GridLabel"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Translation">
                    <ItemTemplate>
                        <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                        <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300" MaxLength="255"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
             </Columns>
        </asp:GridView>
        <br />
        <asp:Button ID="TournamentExecutionStatusSubmitButton" runat="server" 
            Text="Submit" OnClick="TournamentExecutionStatusSubmit" CssClass="GreenSmallButtonStyle" />
        <asp:SqlDataSource ID="TournamentExecutionStatusDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataTournamentExecutionStatusesGetForTranslation" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
            </SelectParameters>
        </asp:SqlDataSource>
    </ContentTemplate>
    </asp:UpdatePanel>
    <br /><br />
    <asp:UpdatePanel ID="TournamentApprovalStatusPanel" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <asp:Label ID="TournamentApprovalStatusTitleLabel" runat="server" Text="Tournament approval statuses data table" SkinID="InfoLabel"></asp:Label>
        <div style="height:20px; padding:2px;">
            <asp:Label ID="TournamentApprovalStatusUpdatedLabel" runat="server" Text="Tournament approval statuses updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
            <asp:UpdateProgress ID="UpdateProgress3" runat="server" AssociatedUpdatePanelID="TournamentApprovalStatusPanel">
                <ProgressTemplate>
                    <div class="ajaxloader">
                        <asp:Image ID="TournamentApprovalStatusProgressImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                    </div>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </div>
        <asp:GridView ID="TournamentApprovalStatusGridveiew" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="TournamentApprovalStatusDataSource" SkinID="Professional">
             <Columns>
                <asp:TemplateField HeaderText="English text">
                    <ItemTemplate>
                        <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("EnglishType") %>' SkinID="GridLabel"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Translation">
                    <ItemTemplate>
                        <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                        <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300" MaxLength="255"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
             </Columns>
        </asp:GridView>
        <br />
        <asp:Button ID="TournamentApprovalStatusSubmitButton" runat="server" 
            Text="Submit" OnClick="TournamentApprovalStatusSubmit" CssClass="GreenSmallButtonStyle" />
        <asp:SqlDataSource ID="TournamentApprovalStatusDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataTournamentApprovalStatusesGetForTranslation" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
            </SelectParameters>
        </asp:SqlDataSource>
    </ContentTemplate>
    </asp:UpdatePanel>
    <br /><br />
    <asp:UpdatePanel ID="TournamentStageTypePanel" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <asp:Label ID="TournamentStageTypeTitleLabel" runat="server" Text="Tournament stage types data table" SkinID="InfoLabel"></asp:Label>
        <div style="height:20px; padding:2px;">
            <asp:Label ID="TournamentStageTypeUpdatedLabel" runat="server" Text="Tournament stage types updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
            <asp:UpdateProgress ID="UpdateProgress4" runat="server" AssociatedUpdatePanelID="TournamentStageTypePanel">
                <ProgressTemplate>
                    <div class="ajaxloader">
                        <asp:Image ID="TournamentStageTypeProgressImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                    </div>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </div>
        <asp:GridView ID="TournamentStageTypeGridveiew" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="TournamentStageTypeDataSource" SkinID="Professional">
             <Columns>
                <asp:TemplateField HeaderText="English text">
                    <ItemTemplate>
                        <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("EnglishType") %>' SkinID="GridLabel"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Translation">
                    <ItemTemplate>
                        <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                        <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300" MaxLength="255"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
             </Columns>
        </asp:GridView>
        <br />
        <asp:Button ID="TournamentStageTypeSubmitButton" runat="server" 
            Text="Submit" OnClick="TournamentStageTypeSubmit" CssClass="GreenSmallButtonStyle" />
        <asp:SqlDataSource ID="TournamentStageTypeDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataTournamentStageTypesGetForTranslation" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
            </SelectParameters>
        </asp:SqlDataSource>
    </ContentTemplate>
    </asp:UpdatePanel><br /><br />
    <asp:UpdatePanel ID="UserTournamentRolePanel" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <asp:Label ID="UserTournamentRoleTitleLabel" runat="server" Text="User tournament roles data table" SkinID="InfoLabel"></asp:Label>
        <div style="height:20px; padding:2px;">
            <asp:Label ID="UserTournamentRoleUpdatedLabel" runat="server" Text="User tournament roles updated" Visible="false" SkinID="GreenSmallHeaderLabel"></asp:Label>
            <asp:UpdateProgress ID="UserTournamentRoleUpdateProgress" runat="server" AssociatedUpdatePanelID="UserTournamentRolePanel">
                <ProgressTemplate>
                    <div class="ajaxloader">
                        <asp:Image ID="UserTournamentRoleProgressImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
                    </div>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </div>
        <asp:GridView ID="UserTournamentRoleGridveiew" runat="server" AllowPaging="false" AutoGenerateColumns="false"
             DataSourceID="UserTournamentRoleDataSource" SkinID="Professional">
             <Columns>
                <asp:TemplateField HeaderText="English text">
                    <ItemTemplate>
                        <asp:Label ID="EnglishTextLabel" runat="server" Text='<%# Eval("EnglishType") %>' SkinID="GridLabel"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Translation">
                    <ItemTemplate>
                        <asp:HiddenField ID="IdHiddenField" runat="server" Value='<%# Eval("Id") %>' />
                        <asp:TextBox ID="TranslationTextBox" runat="server" Text='<%# Eval("Translation") %>' Width="300" MaxLength="255"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
             </Columns>
        </asp:GridView>
        <br />
        <asp:Button ID="UserTournamentRoleSubmitButton" runat="server" 
            Text="Submit" OnClick="UserTournamentRoleSubmit" CssClass="GreenSmallButtonStyle" />
        <asp:SqlDataSource ID="UserTournamentRoleDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_DataUserTournamentRoleGetForTranslation" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:ControlParameter ControlID="LanguageIdHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
            </SelectParameters>
        </asp:SqlDataSource>
    </ContentTemplate>
    </asp:UpdatePanel>
    
    </div>
    </div>
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageNamePlaceHolder" Runat="Server">
    <asp:Label ID="PageNameLabel" runat="server" Text="Translate >> Data tables" CssClass="PageNameContentStyle"></asp:Label>
</asp:Content>

